//
//  ViewController.m
//  cccc
//
//  Created by lanouhn on 16/6/2.
//  Copyright © 2016年 口水巨多. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet UITextField *textFirld;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
   
    
    
}
- (IBAction)handlePush:(UIButton *)sender {
    NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"cccc://%@",self.textFirld.text]];
    [ [UIApplication sharedApplication] openURL:url];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
